home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 365 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.5 KB  |  52 lines

  1. Path: walrus.megabaud.fi!not-for-mail
  2. From: petrin@walrus.megabaud.fi (Petri Nordlund)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Executive Probs with Maple
  5. Date: 9 Jan 1996 16:17:18 +0200
  6. Organization: Megabaud Oy,Helsinki,Finland
  7. Message-ID: <4cttde$701@walrus.megabaud.fi>
  8. NNTP-Posting-Host: walrus.megabaud.fi
  9.  
  10. Oliver Fels <Oliver@stanley.zebra.fh-weingarten.de> wrote:
  11.  
  12. >I am actually using the symbolic arithmetical package MapleV.
  13. >iUnfortunately the Plot3D module doesn┤t open a screen and does not return back
  14. >to Maple, if Executive is running. Result: Maple hangs. ( Execute is definitely
  15. >responsible).
  16. >Setting all Maple task schedule settings to IGNORE did not work.
  17. >Any ideas ?
  18.  
  19.   Hi, I'm the author of Executive.
  20.  
  21.   Maple normally runs at priority 0, if you don't change its priority
  22.   before or after you start it. Maple starts a task called "MaplePlot3D"
  23.   and gives it priority -24. Maple expects that the priority of the
  24.   plot-task is lower than the main task. Programs really shouldn't
  25.   be written this way, there's absolutely no need to do so.
  26.  
  27.   Even though Executive is responsible for changing the priorities,
  28.   you can't blame it for this bug. If you'd use Maple without Executive
  29.   and notice that when it's running at priority 0, you can't do much
  30.   else with your computer. So let's change Maple's priority to -50.
  31.   The result: Plot doesn't work anymore. Executive just changes
  32.   priorities automatically.
  33.  
  34.   What you need to do is to keep the Maple main task's priority at 0,
  35.   the plot-task can be scheduled. Just go to ExecutivePrefs's Tasks-
  36.   section, click the New-button, type "MapleV" into the Name-gadget
  37.   and hit Ok two times. Save the prefs and restart Executive. That's it.
  38.  
  39.   The IGNORE-option in Executive shouldn't be used for anything. It
  40.   tells Executive to completely ignore a task. IGNORE is reserved for
  41.   one special case: The SAS/C Codeprobe (CPR) debugger creates a task
  42.   called "VISOR input processor". This task is created normally with
  43.   exec.library's AddTask() function, but it's not removed using RemTask().
  44.   Needless to say, this is not very system friendly. Executive will
  45.   automatically ignore this task. So as I said, don't use IGNORE for
  46.   anything, use NOSCHEDULE instead.
  47. -- 
  48.                                       __
  49.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~///~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  50.        Petri Nordlund             __///         petrin@megabaud.fi
  51.  ---------------------------------\XX/----------------------------------
  52.